<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <link rel="stylesheet" href="../account/css/test.css" type="text/css" media="screen"/>
    <link href="../css/test.css" rel="stylesheet">
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<header th:replace="common/top.html"></header>
<section class="content">
    <main>
        <div class="container">
            <div id="editForm">
                <form action="/item/editItemConfirm" method="post" class="form-horizontal" role="form">

                    <div class="form-group">
                        <label for="itemId" class="col-sm-2 control-label">itemId:</label>
                        <div class="col-sm-10">
                            <input type="text" name="itemId" class="form-control" id="itemId" th:value="${item?.itemId}"
                                   placeholder="请输入名字">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="productId" class="col-sm-2 control-label">productId:</label>
                        <div class="col-sm-10">
                            <input type="text" name="productId" class="form-control" id="productId"
                                   th:value="${item?.productId}" placeholder="请输入产品id">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="listPrice" class="col-sm-2 control-label">listPrice:</label>
                        <div class="col-sm-10">
                            <input type="text" name="listPrice" class="form-control" id="listPrice"
                                   th:value="${item?.listPrice}" placeholder="请输入list价格">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="unitCost" class="col-sm-2 control-label">unitCost:</label>
                        <div class="col-sm-10">
                            <input type="text" name="unitCost" class="form-control" id="unitCost"
                                   th:value="${item?.unitCost}" placeholder="请输入总价格">
                        </div>
                    </div>

                    <!--        supplier:<input id="supplier" type="text" name="supplier" th:value="${item?.supplier}" ></br>-->
                    <div class="form-group">
                        <label for="status" class="col-sm-2 control-label">status:</label>
                        <div class="col-sm-10">
                            <input type="text" name="status" class="form-control" id="status" th:value="${item?.status}"
                                   placeholder="请输入状态">
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">确定</button>
                        </div>
                    </div>

                </form>
                <!--    <script>-->
                <!--        itemId = document.getElementById("itemId");-->
                <!--        productId = document.getElementById("productId");-->
                <!--        itemId.blur();-->
                <!--        productId.blur();-->
                <!--    </script>-->
            </div>
        </div>
    </main>
</section>
<header th:replace="common/bottom.html"></header>

</body>
</html>